package com.testing.sunnycommon.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.testing.sunnycommon.model.SunnyUser;
import org.springframework.security.core.userdetails.UserDetailsService;

import java.io.InputStream;

/**
 * @Classname SunnyUserService
 * @Description 类型说明
 * @Date 2023/6/28 21:55
 * @Created by 特斯汀Roy
 */
public interface SunnyUserService extends IService<SunnyUser>, UserDetailsService {
    SunnyUser loadUserByUsername(String username);

    boolean isImage(InputStream stream);
}
